/*
 * @Author: Shususumu
 * @Date: 2020-10-15 15:33:52
 * @LastEditTime: 2020-10-16 10:07:34
 * @FilePath: \ej\src\utils\get-page-title.js
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || '家政预约服务平台'

export default function getPageTitle(pageTitle) {
    if (pageTitle) {
        return `${pageTitle} - ${title}`
    }
    return `${title}`
}